const express = require('express')

const path = require('path')
const app = express()
app.use(express.static(path.join(__dirname,'./public')))
app.get('/',(req,res)=>{
    console.log('123'+req.url)
    res.send('123'+req.url)
})

app.listen(3000,()=>{
    console.log('server is running')
})